package com.timothy.junk.gfund.bean;


public class GFundNotifyBean extends GFundBean {

	private boolean isNotified;
	private float ceilDiscount;
	private float floorDiscount;
	
	public boolean isNotified() {
		return isNotified;
	}
	public void setNotified(boolean isNotified) {
		this.isNotified = isNotified;
	}
	public float getCeilDiscount() {
		return ceilDiscount;
	}
	public void setCeilDiscount(float ceilDiscount) {
		this.ceilDiscount = ceilDiscount;
	}
	public float getFloorDiscount() {
		return floorDiscount;
	}
	public void setFloorDiscount(float floorDiscount) {
		this.floorDiscount = floorDiscount;
	}
	
	public String toSPString(){
		int flag = isNotified?1:0;
		String spValue = String.valueOf(flag)+":"+String.valueOf(ceilDiscount)+":" + String.valueOf(floorDiscount);
		return spValue;
	}
	
}
